package com.xuyiwei.mayi.mapper1;
import com.xuyiwei.mayi.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;
import java.util.List;
/**
 * Created by xuyiwei on 2019/4/18.
 */

@Service
@Mapper
public interface UserMapper1 {
    List<User> findAll();
    User findOne(Integer id);
    void addOne(User user);
    void updateOne(User user);
    void delOne(Integer id);
}